<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">


<div class="current">
	<a href="{SITE_URL}">首页</a> » <a href="{url("?module=forum")}">论坛</a> » <a href="?module=forum&amp;action=thread_list&amp;fid={$fid}">{$FORUM[$fid][name]}</a> » {$data[subject]}
</div>
 

<table border="1" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="154" rowspan="2" align="left" valign="top">

<img src="{avatar($_userid)}" width="100" height="100"/>
<p><em><a>{$_nickname}</a></em></p>

</td>
<td width="800">

只看该作者</td></tr>
  <tr>
    <td align="left" valign="top">{$data[message]}</td>
  </tr>

<tr>
<td></td>
<td>


回复/引用/编辑/评分/使用道具</td>
</tr>
</tbody></table>



{loop $comments $n $comment}
<table border="1" cellpadding="0" cellspacing="0" id="pid14" summary="pid14">
<tbody><tr>
<td width="150" rowspan="2" class="postauthor">
<div style="display: none; position: absolute;" id="userinfo14" class="popupmenu_popup userinfopanel">
<div class="popavatar">
<div id="userinfo14_ma"></div>
<ul class="profile_aside">
<li class="pm"><a title="发短消息" onClick="hideMenu('userinfo14');showWindow('sendpm', this.href);return false;" href="pm.php?action=new&amp;uid=1">发短消息</a></li>
<li class="buddy"><a onClick="ajaxmenu(this, 3000);doane(event);" title="加为好友" id="ajax_buddy_0" target="_blank" href="my.php?item=buddylist&amp;newbuddyid=1&amp;buddysubmit=yes">加为好友</a></li>
</ul>
</div>
<div class="popuserinfo">
<p>
<a target="_blank" href="space.php?uid=1">admin</a>
<em>当前在线</em></p>

<dl class="s_clear"><dt>UID</dt><dd>1&nbsp;</dd><dt>帖子</dt><dd>14&nbsp;</dd><dt>精华</dt><dd>0&nbsp;</dd><dt>积分</dt><dd>0&nbsp;</dd><dt>阅读权限</dt><dd>200&nbsp;</dd><dt>在线时间</dt><dd>1 小时&nbsp;</dd><dt>注册时间</dt><dd>2011-7-4&nbsp;</dd><dt>最后登录</dt><dd>2011-7-5&nbsp;</dd></dl>
<div class="imicons">
<a title="查看详细资料" target="_blank" href="space.php?uid=1"><img alt="查看详细资料" src="images/default/userinfo.gif"></a></div>
<div id="avatarfeed"><span id="threadsortswait"></span></div>
</div>
</div>
<div>
<div><img src="{avatar($comment[authorid])}" width="100" height="100"/></div>
<p><em><a target="_blank" href="faq.php?action=grouppermission&amp;searchgroupid=1">{$comment[author]}</a></em></p>
</div>
</td>
<td width="804" height="10">{$comment[author]}发表于1秒前 <a href="?module=member&amp;action=view&amp;user={$comment[authorid]}">只看该作者</a></td>
</tr>
<tr>
  <td height="65" align="left" valign="top">{$comment[message]}</td>
</tr>
<tr>
<td></td>
<td> 回复 / 引用 / 编辑 </td>
</tr>
</tbody></table>
{/loop}






<link href="{TPL_PATH}forum/forum.css" rel="stylesheet" />
<table border="1" cellpadding="0" cellspacing="0">
<form action="?module=forum&action=comment" target="_self" method="post">
<input name="post[fid]" type="hidden" value="{$data[fid]}" />
<input name="post[tid]" type="hidden" value="{$data[tid]}" />
<input name="post[author]" type="hidden" value="{$_nickname}" />
<input name="post[authorid]" type="hidden" value="{$_userid}" />
<tbody><tr>
<td width="94">
<div class="avatar">头像
{if !$_userid}<a href="?module=member&action=login">登录</a>
{else}
	{$_nickname}
{/if}
</div></td>
<td width="860">
  <p>
  <textarea class="txtarea" tabindex="4" name="post[message]" cols="80" rows="5"></textarea>
   </p>
  <p> 
    <input type="submit" name="dosubmit" id="button" value="发表回复" />
    <input type="checkbox">
    回帖后跳转到最后一页
    </p>
    </p></td>
</tr>
</tbody>
</form>
</table>



</div>
{template 'footer.html'}